package be.bonamis.umpire.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import be.bonamis.umpire.domain.quiz.PersonQuiz;

public interface PersonQuizRepository extends JpaRepository<PersonQuiz, Integer> {
	
	List<PersonQuiz> findByPersonIdAndQuizId(final long personId, final long quizId);

	List<PersonQuiz> findByQuizId(long quizId);
}
